<?phpif ($p_data){    file_put_contents('data', serialize($p_data));}$m_data = unserialize(file_get_contents('data'));$smarty->assign("data", $m_data);return $smarty->fetch('editor.tpl');?>